/**
* @ProjectName: ShopSytem
* @Title: BaseDto.java 
* @Package com.element5th.shop.dto 
* @Description: 封装实体类，用于界面层和底层的数据传输
* @author 第五元素小组   
* @date 2012-10-26 15:56:49 
* @version V1.0   
*/ 
package com.element5th.shop.dto;

import com.element5th.shop.entity.Admin;
import com.element5th.shop.entity.AdminLimit;
import com.element5th.shop.entity.AdminLogin;
import com.element5th.shop.entity.BbsMenubig;
import com.element5th.shop.entity.BbsMenusmall;
import com.element5th.shop.entity.BbsPopedom;
import com.element5th.shop.entity.BbsPost;
import com.element5th.shop.entity.BbsPostback;
import com.element5th.shop.entity.BbsPoststate;
import com.element5th.shop.entity.BbsSiteinfo;
import com.element5th.shop.entity.BbsUser;
import com.element5th.shop.entity.BbsUsergrade;
import com.element5th.shop.entity.CartList;
import com.element5th.shop.entity.DetailPic;
import com.element5th.shop.entity.GoodBigclass;
import com.element5th.shop.entity.GoodClass;
import com.element5th.shop.entity.GoodDetail;
import com.element5th.shop.entity.GoodOff;
import com.element5th.shop.entity.GoodReview;
import com.element5th.shop.entity.LeaveWord;
import com.element5th.shop.entity.OrderList;
import com.element5th.shop.entity.OrderPaytype;
import com.element5th.shop.entity.ShopGood;
import com.element5th.shop.entity.ShopOrder;
import com.element5th.shop.entity.User;
import com.element5th.shop.entity.Userbase;

public class BaseDto {
	private Admin admin;
	private AdminLimit adminLimit;
	private AdminLogin adminLogin;
	private BbsMenubig bbsMenuBig;
	private BbsMenusmall bbsMenuSmall;
	private BbsPopedom bbsPopedom;
	private BbsPost bbsPost;
	private BbsPostback bbsPostBack;
	private BbsPoststate bbsPostState;
	private BbsSiteinfo bbsSiteInfo;
	private BbsUser bbsUser;
	private BbsUsergrade bbsUserGrade;
	private CartList cartList;
	private DetailPic detailPic;
	private GoodBigclass goodBigClass;
	private GoodClass goodClass;
	private GoodDetail goodDetail;
	private GoodOff goodOff;
	private GoodReview goodReview;
	private LeaveWord leaveWord;
	private OrderList orderList;
	private OrderPaytype orderPayType;
	private ShopGood shopGood;
	private ShopOrder shopOrder;
	private User user;
	private Userbase userBase;
	/** 
	 * <p>Title: </p> 
	 * <p>Description:构造器 </p>  
	 */
	public BaseDto() {
	}
	/**
	 * @return the admin
	 */
	public Admin getAdmin() {
		if(admin == null)
			admin = new Admin();
		return admin;
	}
	/**
	 * @param admin the admin to set
	 */
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}
	/**
	 * @return the adminLimit
	 */
	public AdminLimit getAdminLimit() {
		if(adminLimit == null)
			adminLimit = new AdminLimit();
		return adminLimit;
	}
	/**
	 * @param adminLimit the adminLimit to set
	 */
	public void setAdminLimit(AdminLimit adminLimit) {
		this.adminLimit = adminLimit;
	}
	/**
	 * @return the adminLogin
	 */
	public AdminLogin getAdminLogin() {
		if(adminLogin == null)
			adminLogin = new AdminLogin();
		return adminLogin;
	}
	/**
	 * @param adminLogin the adminLogin to set
	 */
	public void setAdminLogin(AdminLogin adminLogin) {
		this.adminLogin = adminLogin;
	}
	/**
	 * @return the bbsMenuBig
	 */
	public BbsMenubig getBbsMenuBig() {
		if(bbsMenuBig == null)
			bbsMenuBig = new BbsMenubig();
		return bbsMenuBig;
	}
	/**
	 * @param bbsMenuBig the bbsMenuBig to set
	 */
	public void setBbsMenuBig(BbsMenubig bbsMenuBig) {
		this.bbsMenuBig = bbsMenuBig;
	}
	/**
	 * @return the bbsMenuSmall
	 */
	public BbsMenusmall getBbsMenuSmall() {
		if(bbsMenuSmall == null)
			bbsMenuSmall = new BbsMenusmall();
		return bbsMenuSmall;
	}
	/**
	 * @param bbsMenuSmall the bbsMenuSmall to set
	 */
	public void setBbsMenuSmall(BbsMenusmall bbsMenuSmall) {
		this.bbsMenuSmall = bbsMenuSmall;
	}
	/**
	 * @return the bbsPopedom
	 */
	public BbsPopedom getBbsPopedom() {
		if(bbsPopedom == null)
			bbsPopedom = new BbsPopedom();
		return bbsPopedom;
	}
	/**
	 * @param bbsPopedom the bbsPopedom to set
	 */
	public void setBbsPopedom(BbsPopedom bbsPopedom) {
		this.bbsPopedom = bbsPopedom;
	}
	/**
	 * @return the bbsPost
	 */
	public BbsPost getBbsPost() {
		if(bbsPost == null)
			bbsPost = new BbsPost();
		return bbsPost;
	}
	/**
	 * @param bbsPost the bbsPost to set
	 */
	public void setBbsPost(BbsPost bbsPost) {
		this.bbsPost = bbsPost;
	}
	/**
	 * @return the bbsPostBack
	 */
	public BbsPostback getBbsPostBack() {
		if(bbsPostBack == null)
			bbsPostBack = new BbsPostback();
		return bbsPostBack;
	}
	/**
	 * @param bbsPostBack the bbsPostBack to set
	 */
	public void setBbsPostBack(BbsPostback bbsPostBack) {
		this.bbsPostBack = bbsPostBack;
	}
	/**
	 * @return the bbsPostState
	 */
	public BbsPoststate getBbsPostState() {
		if(bbsPostState == null)
			bbsPostState = new BbsPoststate();
		return bbsPostState;
	}
	/**
	 * @param bbsPostState the bbsPostState to set
	 */
	public void setBbsPostState(BbsPoststate bbsPostState) {
		this.bbsPostState = bbsPostState;
	}
	/**
	 * @return the bbsSiteInfo
	 */
	public BbsSiteinfo getBbsSiteInfo() {
		if(bbsSiteInfo == null)
			bbsSiteInfo = new BbsSiteinfo();
		return bbsSiteInfo;
	}
	/**
	 * @param bbsSiteInfo the bbsSiteInfo to set
	 */
	public void setBbsSiteInfo(BbsSiteinfo bbsSiteInfo) {
		this.bbsSiteInfo = bbsSiteInfo;
	}
	/**
	 * @return the bbsUser
	 */
	public BbsUser getBbsUser() {
		if(bbsUser == null)
			bbsUser = new BbsUser();
		return bbsUser;
	}
	/**
	 * @param bbsUser the bbsUser to set
	 */
	public void setBbsUser(BbsUser bbsUser) {
		this.bbsUser = bbsUser;
	}
	/**
	 * @return the bbsUserGrade
	 */
	public BbsUsergrade getBbsUserGrade() {
		if(bbsUserGrade == null)
			bbsUserGrade = new BbsUsergrade();
		return bbsUserGrade;
	}
	/**
	 * @param bbsUserGrade the bbsUserGrade to set
	 */
	public void setBbsUserGrade(BbsUsergrade bbsUserGrade) {
		this.bbsUserGrade = bbsUserGrade;
	}
	/**
	 * @return the cartList
	 */
	public CartList getCartList() {
		if(cartList == null)
			cartList = new CartList();
		return cartList;
	}
	/**
	 * @param cartList the cartList to set
	 */
	public void setCartList(CartList cartList) {
		this.cartList = cartList;
	}
	/**
	 * @return the detailPic
	 */
	public DetailPic getDetailPic() {
		if(detailPic == null)
			detailPic = new DetailPic();
		return detailPic;
	}
	/**
	 * @param detailPic the detailPic to set
	 */
	public void setDetailPic(DetailPic detailPic) {
		this.detailPic = detailPic;
	}
	/**
	 * @return the goodBigClass
	 */
	public GoodBigclass getGoodBigClass() {
		if(goodBigClass == null)
			goodBigClass = new GoodBigclass();
		return goodBigClass;
	}
	/**
	 * @param goodBigClass the goodBigClass to set
	 */
	public void setGoodBigClass(GoodBigclass goodBigClass) {
		this.goodBigClass = goodBigClass;
	}
	/**
	 * @return the goodClass
	 */
	public GoodClass getGoodClass() {
		if(goodClass == null)
			goodClass = new GoodClass();
		return goodClass;
	}
	/**
	 * @param goodClass the goodClass to set
	 */
	public void setGoodClass(GoodClass goodClass) {
		this.goodClass = goodClass;
	}
	/**
	 * @return the goodDetail
	 */
	public GoodDetail getGoodDetail() {
		if(goodDetail == null)
			goodDetail = new GoodDetail();
		return goodDetail;
	}
	/**
	 * @param goodDetail the goodDetail to set
	 */
	public void setGoodDetail(GoodDetail goodDetail) {
		this.goodDetail = goodDetail;
	}
	/**
	 * @return the goodOff
	 */
	public GoodOff getGoodOff() {
		if(goodOff == null)
			goodOff = new GoodOff();
		return goodOff;
	}
	/**
	 * @param goodOff the goodOff to set
	 */
	public void setGoodOff(GoodOff goodOff) {
		this.goodOff = goodOff;
	}
	/**
	 * @return the goodReview
	 */
	public GoodReview getGoodReview() {
		if(goodReview == null)
			goodReview = new GoodReview();
		return goodReview;
	}
	/**
	 * @param goodReview the goodReview to set
	 */
	public void setGoodReview(GoodReview goodReview) {
		this.goodReview = goodReview;
	}
	/**
	 * @return the leaveWord
	 */
	public LeaveWord getLeaveWord() {
		if(leaveWord == null)
			leaveWord = new LeaveWord();
		return leaveWord;
	}
	/**
	 * @param leaveWord the leaveWord to set
	 */
	public void setLeaveWord(LeaveWord leaveWord) {
		this.leaveWord = leaveWord;
	}
	/**
	 * @return the orderList
	 */
	public OrderList getOrderList() {
		if(orderList == null)
			orderList = new OrderList();
		return orderList;
	}
	/**
	 * @param orderList the orderList to set
	 */
	public void setOrderList(OrderList orderList) {
		this.orderList = orderList;
	}
	/**
	 * @return the orderPayType
	 */
	public OrderPaytype getOrderPayType() {
		if(orderPayType == null)
			orderPayType = new OrderPaytype();
		return orderPayType;
	}
	/**
	 * @param orderPayType the orderPayType to set
	 */
	public void setOrderPayType(OrderPaytype orderPayType) {
		this.orderPayType = orderPayType;
	}
	/**
	 * @return the shopGood
	 */
	public ShopGood getShopGood() {
		if(shopGood == null)
			shopGood = new ShopGood();
		return shopGood;
	}
	/**
	 * @param shopGood the shopGood to set
	 */
	public void setShopGood(ShopGood shopGood) {
		this.shopGood = shopGood;
	}
	/**
	 * @return the shopOrder
	 */
	public ShopOrder getShopOrder() {
		if(shopOrder == null)
			shopOrder = new ShopOrder();
		return shopOrder;
	}
	/**
	 * @param shopOrder the shopOrder to set
	 */
	public void setShopOrder(ShopOrder shopOrder) {
		this.shopOrder = shopOrder;
	}
	/**
	 * @return the user
	 */
	public User getUser() {
		if(user == null)
			user = new User();
		return user;
	}
	/**
	 * @param user the user to set
	 */
	public void setUser(User user) {
		this.user = user;
	}
	/**
	 * @return the userBase
	 */
	public Userbase getUserBase() {
		if(userBase == null)
			userBase = new Userbase();
		return userBase;
	}
	/**
	 * @param userBase the userBase to set
	 */
	public void setUserBase(Userbase userBase) {
		this.userBase = userBase;
	}
}
